package org.jeecg.modules.demo.gmslopedata.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.gmslopedata.entity.EvaluateCountDTO;
import org.jeecg.modules.demo.gmslopedata.entity.GmSlopeData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 边坡数据
 * @Author: jeecg-boot
 * @Date:   2025-06-21
 * @Version: V1.0
 */
public interface GmSlopeDataMapper extends BaseMapper<GmSlopeData> {

    List<EvaluateCountDTO> countEvaluateResults(@Param("county") String county,
                                                @Param("town") String town,
                                                @Param("createBy") String createBy);

    List<Map<String, Object>> statisticsByQueryWrapper(@Param("ew") QueryWrapper<GmSlopeData> queryWrapper);
}
